package com.gpframework.module.wages.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gpframework.module.wages.domain.GzPersonnelFoundation;
import com.gpframework.module.wages.domain.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @ClassName GzPersonnelFoundation
 * @Author gpframework
 * @Date 2024-01-18
 * @Version 1.0.0
 * @Description 人员基础Mapper接口
 */
public interface GzPersonnelFoundationMapper extends BaseMapper<GzPersonnelFoundation> {

    /**
    * 列表
    * @param lqw
    * @return
    */
    List<GzPersonnelFoundationVo> listVo(@Param("ew") QueryWrapper<GzPersonnelFoundation> lqw);

    /**
    * 对象
    * @param id
    * @return
    */
    GzPersonnelFoundationVo getVo(@Param("id")Long id);

    List<SalarySummaryVo> salarySummary(@Param("month") String month, @Param("deptName")String deptName);

    List<GzPersonnelVersionVo> personnelVersion(@Param("month")String month, @Param("deptName")String deptName, @Param("name")String name);

    List<GzOfficeSalaryVo> gzOfficeSalarySummary(@Param("month") String month, @Param("deptName") String deptName);

    List<GzTransferVo> transfeSummary(@Param("month") String month, @Param("deptName") String deptName);

    List<GzWarehousePersonnelVo> warehouseSummary(@Param("month") String month, @Param("deptName")String deptName);
}
